# 参数化实验

if __name__ == '__main__':
    # work_flow_obj2 = WorkFlowForgetPasswordTestV2()
    # url = "http://129.211.129.101:9006/user/forget_get_question.do"
    # user_info = {
    #     "username": "lllljl"
    # }
    # exp_result = "喜欢看的书"
    # name = "忘记密码接口"
    # work_flow_obj2.register_test(url, user_info, exp_result, name)

    testresult = {"接口名": "登录接口", "接口实际响应结果": "登录成功", "测试结论": "测试通过!"}
    file = open("../data/testresult2.csv", "a")
    for key, value in testresult.items():
        print(key, value)
        file.write(str(key) + "," + str(value) + ",")
    file.write("\n")
    file.close()
